// components/navBar/navBar.js
const constant = require("../../constant/constant")
Component({
    /**
     * 组件的属性列表
     */
    options: {
        styleIsolation: 'isolated'
    },
    properties: {
        title: {
            type: String,
            value: "橙心优选"
        },
        titleColor: {
            type: String,
            value: "#ffffff"
        },
        bgColor: {
            type: String,
            value: constant.themeColor
        },
        searchWidth: {
            type: String,
            value: '330rpx'
        },
        searchBgColor: {
            type: String,
            value: "#fff"
        }
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {

    }
})
